﻿using System;
using System.Collections.Generic;

using System.Text;
using DBManager.Admin;
using System.Data;

namespace BO.Admin
{
    public class CommentBO
    {
        public static DataTable GetAllCommentBO(string search, string typeCM, string status)
        { 
            return Comment.GetAllComment( search,  typeCM, status);
        }
        public static int DeleteCommentBO(string id)
        { 
            return Comment.DeleteComment( id);
        }
        public static int StatusCommentBO(string id, string status)
        {
            return Comment.StatusComment(id, status);
        }
        public static int EditConmentCommentBO(string id, string content, string reply)
        {
            return Comment.EditConmentComment(id, content, reply);
        }
        public static DataTable GetInfomationByIDBO(string id)
        {
            return Comment.GetInfomationByID(id);
        }
    }
}
